package com.itcast.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 体检组
 * </p>
 *
 * @author author
 * @since 2024-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("checkup_item")
@ApiModel(value="CheckupItem对象", description="体检项")
public class CheckupItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "体检项id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "体检项名称")
    @TableField("item_name")
    private String itemName;

    @ApiModelProperty(value = "所属体检组id")
    @TableField("check_group_id")
    private Integer checkGroupId;

    @ApiModelProperty(value = "所属体检组名称")
    @TableField("check_group_name")
    private String checkGroupName;

    @ApiModelProperty(value = "体检项描述")
    @TableField("item_description")
    private String itemDescription;


    @ApiModelProperty(value = "体检项价格")
    @TableField("item_price")
    private BigDecimal itemPrice;

    @ApiModelProperty(value = "体检项单位")
    @TableField("unit")
    private String unit;

    @ApiModelProperty(value = "体检项适用人群")
    @TableField("target_consumer")
    private Integer targetConsumer;

    @ApiModelProperty(value = "体检项性别限制")
    @TableField("item_sex")
    private Integer itemSex;

    @ApiModelProperty(value = "体检项状态")
    @TableField("item_status")
    private Integer itemStatus;


    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
